package com.example.springbootdemo.ext;

import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableMBeanExport;

@Configuration
@ComponentScan("com.example.springbootdemo.ext")
public class ExtConfig {

    @Bean
    public MyBean myBean(){
        return new MyBean();
    }

}
